Part Number Hot Search : 
74HC149 D156M IRG7P SR1020 60N03 11OY01IR PTH050 324VB
Product Description
Full Text Search
 

To Download MDT2020 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
 MDT2020
MDT2020
1. General Description
This EPROM-Based 8-bit micro-controller uses a fully static CMOS design technology combines higher speed and smaller size with the low power and high noise immunity of CMOS. On chip memory system includes 2.0 K bytes of ROM, and 80 bytes of static RAM.
2. Features
The followings are some of the features on the hardware and software : u u u u u u u u u u u u u u u Fully COMS static design 8-bit data bus On chip ROM size : 2 K words Internal RAM size : 80 bytes (72 general purpose, 8 special registers) 36 single word instructions 14-bit instructions 2-level stacks Operating voltage : 2.3 V ~ 6.3 V Operating frequency : 0 ~ 20 MHz The most fast execution time is 200 ns under 20 MHz in all single cycle instructions except the branch instruction. Addressing modes include direct, indirect and relative addressing modes Power-on Reset Power Edge-detector Reset Sleep mode for power saving 4 oscillator start-up time : 150 s, 20 ms, 40 ms, 80 ms
u 8-bit real time clock/counter(RTCC) with 8-bit programmable prescaler u 4 types of oscillator can be selected by code options : RCLow cost RC oscillator LFXTLow frequency crystal oscillator XTALStandard crystal oscillator HFXTHigh frequency crystal oscillator u On-chip RC oscillator based Watchdog Timer(WDT) can be operated freely
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 1
VER 1.1
MDT2020
u 20 I/O pins with their own independent direction control
3. Applications
The application areas of this MDT2020 range from appliance motor control and high speed automotive to low power remote transmitters/receivers, pointing devices, and telecommunications processors, such as Remote controller, small instruments, chargers, toy, automobile and PC peripheral ... etc.
4. Pin Assignment
RTCC Vdd N/C Vss N/C PA0 PA1 PA2 PA3 PB0 PB1 PB2 PB3 PB4 1 2 3 4 5 6 7 8 9 10 11 12 13 14 28 27 26 25 24 23 22 21 20 19 18 17 16 15 /MCLR OSC1 OSC2 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 PB7 PB6 PB5
5. Pin Function Description
Pin Name PA0~PA3 PB0~PB7 PC0~PC7 RTCC /MCLR OSC1 OSC2 Vdd Vss I/O I/O I/O I/O I I I O Function Description Port A, TTL input level Port B, TTL input level Port C, TTL input level Real Time Clock/Counter, Schmitt Trigger input levels Master Clear, Schmitt Trigger input levels Oscillator Input Oscillator Output Power supply Ground
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 2
VER 1.1
MDT2020
6. Memory Map
(A) Register Map Address 00 01 02 03 04 05 06 07 08~0F 10~1F 30~3F 50~5F 70~7F Description Indirect Addressing Register RTCC PC STATUS MSR Port A Port B Port C Internal RAM, General Purpose Register Internal Memory Select Register Internal Memory Select Register Internal Memory Select Register Internal Memory Select Register
(1) IAR ( Indirect Address Register) : R0 (2) RTCC (Real Time Counter/Counter Register) : R1 (3) PC (Program Counter) : R2
Write PC, CALL --- always 0 LJUMP, JUMP, LCALL --- from instruction word RTIW, RET --- from STACK
A10
A9
A8
A7~A0
Write PC, JUMP, CALL --- from STATUS b6 b5 LJUMP, LCALL --- from instruction word RTIW, RET --- from STACK
Write PC --- from ALU LJUMP, JUMP, LCALL, CALL --- from instruction word RTIW, RET --- from STACK This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 3
VER 1.1
MDT2020
(4) STATUS (Status register) : R3 Bit 0 1 2 3 4 6X5 Symbol C HC Z PF TF page Carry bit Half Carry bit Zero bit Power loss Flag bit Time overflow Flag bit Page select bit : 00 : 000H --- 1FFH 01 : 200H --- 3FFH 10 : 400H --- 5FFH 11 : 600H --- 7FFH 7 XX General purpose bit Function
(5) MSR (Memory Select Register) : R4
Memory Select Register : 00 : 10~1F 01 : 30~3F 10 : 50~5F 11 : 70~7F
b7
b6
b5
b4
b3
b2
b1
b0
Read only "1" Indirect Addressing Mode (6) PORT A : R5 PA3~PA0, I/O Register (7) PORT B : R6 PB7~PB0, I/O Register (8) PORT C : R7 PC7~PC0, I/O Register
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 4
VER 1.1
MDT2020
(9) TMR (Time Mode Register) Bit Symbol Prescaler Value Function RTCC rate WDT rate 000 1:2 1:1 001 1:4 1:2 010 1:8 1:4 011 1 : 16 1:8 100 1 : 32 1 : 16 101 1 : 64 1 : 32 110 1 : 128 1 : 64 111 1 : 256 1 : 128 Prescaler assignment bit : 0 X RTCC 1 X Watchdog Timer RTCC signal Edge : 0 X Increment on low-to-high transition on RTCC pin 1 X Increment on high-to-low transition on RTCC pin RTCC signal set : 0 X Internal instruction cycle clock 1 X Transition on RTCC pin
2X0
PS2X0
3
PSC
4
TCE
5
TCS
(10) CPIO A, CPIO B, CPIO C (Control Port I/O Mode Register) The CPIO register is "write-only" x"0", I/O pin in output mode; x"1", I/O pin in input mode. (11) EPROM Option by Writer Programming: Oscillator Type RC Oscillator Oscillator Start-up Time 150 s,20ms,40ms,80ms 20 ms,40ms,80ms 20ms,40 ms,80ms 80 ms
HFXT Oscillator XTAL Oscillator LFXT Oscillator
Watchdog Timer control Watchdog timer disable all the time Watchdog timer enable all the time
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 5
VER 1.1
MDT2020
Power Edge Detect PED PED Disable Enable Security bit Security weak Disable Security Disable Security Enable
7. Reset Condition for all Registers
Register IAR RTCC PC STATUS MSR PORT A PORT B PORT C Address 00h 01h 02h 03h 04h 05h 06h 07h Power-On Reset xxxx xxxx 1111 1111 0001 1xxx 100x xxxx - - - - xxxx xxxx xxxx xxxx xxxx /MCLR or WDT Reset uuuu uuuu 1111 1111 000# #uuu 100u uuuu - - - - uuuu uuuu uuuu uuuu uuuu
Note : u = unchanged, x = unknown, - = unimplemented, read as "0" # = value depends on the condition of the following table Condition /MCLR reset (not during SLEEP) /MCLR reset during SLEEP WDT reset (not during SLEEP) WDT reset during SLEEP Status: bit 4 u 1 0 0 Status: bit 3 u 0 1 0
8. Instruction Set
Instruction Code Mnemonic Operands Function No operation Clear Watchdog timer Sleep mode Load W to TMODE register Operating None 0/WT 0/WT,stop OSC W/TMODE TF, PF TF, PF None Status
010000 00000000 NOP 010000 00000001 CLRWT 010000 00000010 SLEEP 010000 00000011 TMODE
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 6
VER 1.1
MDT2020
Instruction Code Mnemonic Operands 010000 00000100 RET 010000 00000rrr 010001 1rrrrrrr 011000 trrrrrrr 111010 iiiiiiii 010111 trrrrrrr 011001 trrrrrrr 011010 trrrrrrr 011011 trrrrrrr 011100 trrrrrrr 011101 trrrrrrr 011110 trrrrrrr 010010 trrrrrrr 110100 iiiiiiii 010011 trrrrrrr 110101 iiiiiiii 010100 trrrrrrr 110110 iiiiiiii 011111 trrrrrrr 010110 trrrrrrr 010101 trrrrrrr 010000 1xxxxxxx 010001 0rrrrrrr 0000bb brrrrrrr 0010bb brrrrrrr 0001bb brrrrrrr 0011bb brrrrrrr CPIO STWR LDWI I R R Function Return Control I/O port register Store W to register Load register Load immediate to W Operating Stack/PC W/CPIO W/R R/t I/W [R(0~3) R(4~7)]/t R + 1/t R + 1/t W + R/t R W/t (R+/W+1/t) R 1/t R 1/t R a W/t I a W/W R a W/t R o W/t I o W/W /R/t R(n)/R(n-1)A C/R(7) R(0)/C R(n)/(n+1)A C/R(0) R(7)/C 0/W 0/R 0/R(b) 1/R(b) Skip if R(b)=0 Skip if R(b)=1 r Status None None None Z None None Z None CA HCA Z CA HCA Z Z None Z Z Z Z Z Z Z C C Z Z None None None None
LDR RA t
SWAPR RAt Swap halves register INCR R At Increment register
INCRSZ RA Increment registerAskip if zero ADDWR RA Add W and register t SUBWR RAt Subtract W from register DECR RAt DECRSZ RAt ANDWI I IORWI I XORWI I Decrement register
Decrement registerA skip if zero ANDWR RA AND W and register t AND W and immediate IORWR RAt Inclu. OR W and register XORWR RA Exclu. OR W and register t Exclu. OR W and immediate COMR RA t Complement register RRR RAt RLR CLRW CLRR BCR BSR BTSC BTSS R RA b Rt A Rotate right register Rotate left register Clear working register Clear register Bit set RA b Bit clear RA b Bit TestAskip if clear RA b Bit TestAskip if set
Inclu. OR W and immediate I a W/W
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 7
VER 1.1
MDT2020
Instruction Code 100nnn nnnnnnnn 101nnn nnnnnnnn 110000 nnnnnnnn 110001 iiiiiiii 11001n nnnnnnnn Note : W WT TMODE CPIO TF PF PC OSC Inclu. Exclu. AND : : : : : : : : : : : Working register Watchdog timer TMODE mode register Control I/O port register Timer overflow flag Power loss flag Program Counter Oscillator Inclusive ` a' Exclusive ` o' Logic AND ` a' b t 0 1 R C HC Z / x i n : : : : : : : : : : : : Bit position Target Working register General register General register address Carry flag Half carry Zero flag Complement Don't care Immediate data ( 8 bits ) Immediate address Mnemonic Operands LCALL LJUMP CALL RTIW i JUMP n n n n Function Long CALL subroutine Long JUMP to address Call subroutine Return, place immediate to W JUMP to address Operating n/PCA PC+1/Stack n/PC n/PC, PC+1/Stack Stack/PC, i/W n/PC Status None None None None None
9. Electrical Characteristics
(A) Operating Voltage & Frequency Vdd
R
2.3 V ~ 6.3 V
FrequencyR Hz ~ 20 MHz 0 (B) Input Voltage @ V ddx 5.0 V, Temperaturex25 J Port Vil Vih PA, PB, PC RTCC, /MCLR PA, PB, PC RTCC, /MCLR Min. Vss Vss 2.0 V 3.5 V Max. 1.0 V 1.0 V Vdd Vdd
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 8
VER 1.1
MDT2020
Threshold
Voltage : Port A, Port B, Port C V thx 1.5 V RTCC, /MCLR V il x 1.3 V, V ih x 3.0 V (Schmitt Trigger)
(C) Output Voltage @ V ddx 5.0 V, Temperaturex25 J, the typical value as followings : PA, PB, PC Port Iohx 20.0 mA Iol x 20.0 mA Iohx 5.0 mA Iol x 5.0 mA (D) Leakage Current @ V ddx 5.0 V, Temperaturex25 J, the typical value as followings : Iil Iih (E) Sleep Current @WDTDisable, Temperaturex25 J, the typical value as followings : Vddx 2.3 V Vddx 3.0 V Vddx 4.0 V Vddx 5.0 V Vddx 6.3 V IddO 1.0 A IddO 1.0 A Iddx 1.0 A Iddx 5.0 A Iddx 10.0 A 0.1A (Max.) I 0.1 A (Max.) Vohx 4.20 V Vol x 0.50 V Vohx 4.80 V Vol x 0.10 V
@WDTEnable, Temperaturex25 J, the typical value as followings : Vddx 2.3 V Vddx 3.0 V Vddx 4.0 V Vddx 5.0 V Vddx 6.3 V IddO 1.0 A Iddx 4.0 A Iddx 8.0 A Iddx 15.0 A Iddx 30.0 A
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 9
VER 1.1
MDT2020
F) Operating Current Temperaturex25J, the typical value as followings :
(i) OSC TypexRC ; WDTEnable; @ V ddx 5.0 V Cext. (F) Rext. (Ohm) 4.7 K 10.0 K 3P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 20P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 100P 47.0 K 100.0 K 300.0 K 470.0 K 4.7 K 10.0 K 300P 47.0 K 100.0 K 300.0 K 470.0 K Frequency (Hz) 9.4 M 4.9 M 1.1 M 528 K 178 K 115 K 4.6 M 2.4 M 560 K 263 K 89 K 57 K 1.5 M 768 k 168 K 80 K 27 K 17 K 612 K 308 K 68 K 32 K 11.8 K 6.8 K Current (A) 1.9 mA 1.1 mA 428 A 315 A 248 A 235 A 1.1 mA 675 A 320 A 265 A 230 A 225 A 505 A 360 A 246 A 230 A 220 A 218 A 330 A 275 A 228 A 220 A 215 A 214 A
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 10
VER 1.1
MDT2020
(ii) OSC TypexLF (C=20 p); WDTDisable Voltage/Frequency 2.3 V 3.0 V 4.0 V 5.0 V 6.3 V 32 K 3.5 A 69.0 A 123.0A 195.0 A 305.0 A 455 K
@2.5V 78
1M
@2.6V 132
Sleep A O1 A O1 A 1 A 5 A 10 A
A
115.0 A 190.0 A 280.0 A 425.0 A
168.0 A 260.0 A 370.0 A 555.0 A
(iii) OSC TypexXT (C=10 p); WDTEnable Voltage/Frequency 2.1 V 3.0 V 4.0 V 5.0 V 6.3 V 1M 98.0 A 205.0 A 350.0 A 538.0 A 890.0 A 4M 300.0 A 520.0 A 790.0 A 1.1 mA 1.65 mA 10 M
@2.3V779A
Sleep O1.0 A 4.0 A 8.0 A 15.0 A 30.0 A
1.20 mA 1.60 mA 2.20 mA 3.10 mA
(iv) OSC TypexHF (C=10 p); WDTEnable Voltage/Frequency 2.1 V 3.0 V 4.0 V 5.0 V 6.3 V 4M 318.0 A 540.0 A 815.0 A 1.2 mA 1.8 mA 10 M 695 A 1.15 mA 1.70 mA 2.30 mA 3.30 mA 20 M
@2.2V
Sleep O1.0 A 4.0 A 8.0 A 15.0 A 30.0 A
1.47mA
2.10 mA 3.00 mA 4.00 mA 5.60 mA
(G) Power Edge-detector Reset Voltage (Not in Sleep Mode), @ V ddx 5.0 V VprO 1.1~1.3 V Vpr
R
Vdd (Power Supply)
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 11
VER 1.1
MDT2020
(H) The basic WDT time-out cycle time @Temperaturex25 J, the typical value as followings : Vdd =5.0 V, Temperature=25J,the typical value as followings: Voltage (V) 2.3 3.0 4.0 5.0 6.3 Basic WDT time-out cycle time (ms) 25.60 22.50 20.00 18.10 16.20
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 12
VER 1.1
MDT2020
10. Port A ,Port B and Port C Equivalent Circuit
Working Register
D QB
Data I/P
I/O Control
CK
I/O Control Latch
Q
Port I/O Pin
D
Write
CK
Data O/P Latch
Q
Data Bus
QB D
Read
Data I/P Latch
CK
Input Resistor TTL Input Level
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 13
VER 1.1
MDT2020
11. MCLRB and RTCC Input Equivalent Circuit
R U 1 K MCLRB
Schmitt Trigger
R U 1 K RTCC
Schmitt Trigger
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 14
VER 1.1
MDT2020
12. Block Diagram
Stack Two Levels
EPROM 2048N14
RAM 72*8 Port A
Port PA0~PA3 4 bits
11 bits 11 bits 14 bits
Program Counters
Instruction Register
Special Register
OSC1 OSC2 MCLR D0~D7
Port B
Port PB0~PB7 8 bits
Oscillator Circuit
Instruction Decoder
Control Circuit
Data 8-bit
Power on Reset Power Down Reset Working Register ALU Status Register
Port PC0~PC7 8 bits
Port C
8-bit Timer/Counter
Prescale
WDT/OST Timer
RTCC
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 15
VER 1.1
MDT2020
13. External Capacitor Selection For Crystal Oscillator
@ V ddx 3.0 V~ 5.0 V Osc. Type Resonator Freq. 20 MHz HF 10 MHz 4 MHz 10 MHz XT 4 MHz 1 MHz 1 MHz LF 455 K 32 K C1 5 pF ~10 pF 10 pF ~50 pF 10 pF ~50 pF 10 pF ~30 pF 10 pF ~50 pF 10 pF ~30 pF 3 pF ~5 pF 10 pF ~30 pF 10 pF ~20 pF C2 10 pF~30 pF 20 pF ~100 pF 20 pF ~100 pF 10 pF ~50 pF 20 pF ~100 pF 20 pF ~50 pF 3 pF ~5 pF 20 pF ~50 pF 15 pF ~30 pF
MDT2020 OSC1 OSC2
C1
C2
To increase the stability of oscillator and the ability of anti-noise, the above values of the external capacitor range can be recommended for reference, but the higher capacitance also increases the start-up time.
This specification are subject to be changed without notice. Any latest information please preview http;//www.mdtic.com.tw
P. 16
VER 1.1


▲Up To Search▲   

 
Price & Availability of MDT2020

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X